<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\BonusPoolLog
 *
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BonusPoolLog newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BonusPoolLog newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BonusPoolLog query()
 * @mixin \Eloquent
 * @property int $id
 * @property int $store_id 商家店铺id
 * @property int $member_order_id 会员支付订单id
 * @property float $money 收益金额
 * @property float $proportion 资金池比例 = 100% - 商家收益比例
 * @property string|null $deleted_at
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BonusPoolLog whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BonusPoolLog whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BonusPoolLog whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BonusPoolLog whereMemberOrderId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BonusPoolLog whereMoney($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BonusPoolLog whereProportion($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BonusPoolLog whereStoreId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BonusPoolLog whereUpdatedAt($value)
 */
class BonusPoolLog extends Model
{
    protected $table = 'bonus_pool_log';
}
